package com.bw.news.mvvm.model;


import com.bw.mvvm.entity.NewsEntity;

import io.reactivex.Observable;
import okhttp3.RequestBody;
import retrofit2.http.Body;
import retrofit2.http.POST;

public interface Api {


    @POST("msg/getList")
    Observable<NewsEntity> requestNews(@Body RequestBody body);
}
